package com.itheima;

import com.itheima.util.IDWorker;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@Slf4j
@SpringBootApplication
public class ReggieTApplication {

    public static void main(String[] args) {
        SpringApplication.run(ReggieTApplication.class, args);
    }
    @Bean
    public IDWorker getBean(){
        return new IDWorker(1,1);
    }
}
